package com.tencent.qf.team.dal;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class DmAppSalesTutorPerformanceExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public DmAppSalesTutorPerformanceExample() {
        oredCriteria = new ArrayList<>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andSalesDateIsNull() {
            addCriterion("sales_date is null");
            return (Criteria) this;
        }

        public Criteria andSalesDateIsNotNull() {
            addCriterion("sales_date is not null");
            return (Criteria) this;
        }

        public Criteria andSalesDateEqualTo(String value) {
            addCriterion("sales_date =", value, "salesDate");
            return (Criteria) this;
        }

        public Criteria andSalesDateNotEqualTo(String value) {
            addCriterion("sales_date <>", value, "salesDate");
            return (Criteria) this;
        }

        public Criteria andSalesDateGreaterThan(String value) {
            addCriterion("sales_date >", value, "salesDate");
            return (Criteria) this;
        }

        public Criteria andSalesDateGreaterThanOrEqualTo(String value) {
            addCriterion("sales_date >=", value, "salesDate");
            return (Criteria) this;
        }

        public Criteria andSalesDateLessThan(String value) {
            addCriterion("sales_date <", value, "salesDate");
            return (Criteria) this;
        }

        public Criteria andSalesDateLessThanOrEqualTo(String value) {
            addCriterion("sales_date <=", value, "salesDate");
            return (Criteria) this;
        }

        public Criteria andSalesDateLike(String value) {
            addCriterion("sales_date like", value, "salesDate");
            return (Criteria) this;
        }

        public Criteria andSalesDateNotLike(String value) {
            addCriterion("sales_date not like", value, "salesDate");
            return (Criteria) this;
        }

        public Criteria andSalesDateIn(List<String> values) {
            addCriterion("sales_date in", values, "salesDate");
            return (Criteria) this;
        }

        public Criteria andSalesDateNotIn(List<String> values) {
            addCriterion("sales_date not in", values, "salesDate");
            return (Criteria) this;
        }

        public Criteria andSalesDateBetween(String value1, String value2) {
            addCriterion("sales_date between", value1, value2, "salesDate");
            return (Criteria) this;
        }

        public Criteria andSalesDateNotBetween(String value1, String value2) {
            addCriterion("sales_date not between", value1, value2, "salesDate");
            return (Criteria) this;
        }

        public Criteria andRootNodeGroupIdIsNull() {
            addCriterion("root_node_group_id is null");
            return (Criteria) this;
        }

        public Criteria andRootNodeGroupIdIsNotNull() {
            addCriterion("root_node_group_id is not null");
            return (Criteria) this;
        }

        public Criteria andRootNodeGroupIdEqualTo(String value) {
            addCriterion("root_node_group_id =", value, "rootNodeGroupId");
            return (Criteria) this;
        }

        public Criteria andRootNodeGroupIdNotEqualTo(String value) {
            addCriterion("root_node_group_id <>", value, "rootNodeGroupId");
            return (Criteria) this;
        }

        public Criteria andRootNodeGroupIdGreaterThan(String value) {
            addCriterion("root_node_group_id >", value, "rootNodeGroupId");
            return (Criteria) this;
        }

        public Criteria andRootNodeGroupIdGreaterThanOrEqualTo(String value) {
            addCriterion("root_node_group_id >=", value, "rootNodeGroupId");
            return (Criteria) this;
        }

        public Criteria andRootNodeGroupIdLessThan(String value) {
            addCriterion("root_node_group_id <", value, "rootNodeGroupId");
            return (Criteria) this;
        }

        public Criteria andRootNodeGroupIdLessThanOrEqualTo(String value) {
            addCriterion("root_node_group_id <=", value, "rootNodeGroupId");
            return (Criteria) this;
        }

        public Criteria andRootNodeGroupIdLike(String value) {
            addCriterion("root_node_group_id like", value, "rootNodeGroupId");
            return (Criteria) this;
        }

        public Criteria andRootNodeGroupIdNotLike(String value) {
            addCriterion("root_node_group_id not like", value, "rootNodeGroupId");
            return (Criteria) this;
        }

        public Criteria andRootNodeGroupIdIn(List<String> values) {
            addCriterion("root_node_group_id in", values, "rootNodeGroupId");
            return (Criteria) this;
        }

        public Criteria andRootNodeGroupIdNotIn(List<String> values) {
            addCriterion("root_node_group_id not in", values, "rootNodeGroupId");
            return (Criteria) this;
        }

        public Criteria andRootNodeGroupIdBetween(String value1, String value2) {
            addCriterion("root_node_group_id between", value1, value2, "rootNodeGroupId");
            return (Criteria) this;
        }

        public Criteria andRootNodeGroupIdNotBetween(String value1, String value2) {
            addCriterion("root_node_group_id not between", value1, value2, "rootNodeGroupId");
            return (Criteria) this;
        }

        public Criteria andFirstGroupIdIsNull() {
            addCriterion("first_group_id is null");
            return (Criteria) this;
        }

        public Criteria andFirstGroupIdIsNotNull() {
            addCriterion("first_group_id is not null");
            return (Criteria) this;
        }

        public Criteria andFirstGroupIdEqualTo(String value) {
            addCriterion("first_group_id =", value, "firstGroupId");
            return (Criteria) this;
        }

        public Criteria andFirstGroupIdNotEqualTo(String value) {
            addCriterion("first_group_id <>", value, "firstGroupId");
            return (Criteria) this;
        }

        public Criteria andFirstGroupIdGreaterThan(String value) {
            addCriterion("first_group_id >", value, "firstGroupId");
            return (Criteria) this;
        }

        public Criteria andFirstGroupIdGreaterThanOrEqualTo(String value) {
            addCriterion("first_group_id >=", value, "firstGroupId");
            return (Criteria) this;
        }

        public Criteria andFirstGroupIdLessThan(String value) {
            addCriterion("first_group_id <", value, "firstGroupId");
            return (Criteria) this;
        }

        public Criteria andFirstGroupIdLessThanOrEqualTo(String value) {
            addCriterion("first_group_id <=", value, "firstGroupId");
            return (Criteria) this;
        }

        public Criteria andFirstGroupIdLike(String value) {
            addCriterion("first_group_id like", value, "firstGroupId");
            return (Criteria) this;
        }

        public Criteria andFirstGroupIdNotLike(String value) {
            addCriterion("first_group_id not like", value, "firstGroupId");
            return (Criteria) this;
        }

        public Criteria andFirstGroupIdIn(List<String> values) {
            addCriterion("first_group_id in", values, "firstGroupId");
            return (Criteria) this;
        }

        public Criteria andFirstGroupIdNotIn(List<String> values) {
            addCriterion("first_group_id not in", values, "firstGroupId");
            return (Criteria) this;
        }

        public Criteria andFirstGroupIdBetween(String value1, String value2) {
            addCriterion("first_group_id between", value1, value2, "firstGroupId");
            return (Criteria) this;
        }

        public Criteria andFirstGroupIdNotBetween(String value1, String value2) {
            addCriterion("first_group_id not between", value1, value2, "firstGroupId");
            return (Criteria) this;
        }

        public Criteria andSecondGroupIdIsNull() {
            addCriterion("second_group_id is null");
            return (Criteria) this;
        }

        public Criteria andSecondGroupIdIsNotNull() {
            addCriterion("second_group_id is not null");
            return (Criteria) this;
        }

        public Criteria andSecondGroupIdEqualTo(String value) {
            addCriterion("second_group_id =", value, "secondGroupId");
            return (Criteria) this;
        }

        public Criteria andSecondGroupIdNotEqualTo(String value) {
            addCriterion("second_group_id <>", value, "secondGroupId");
            return (Criteria) this;
        }

        public Criteria andSecondGroupIdGreaterThan(String value) {
            addCriterion("second_group_id >", value, "secondGroupId");
            return (Criteria) this;
        }

        public Criteria andSecondGroupIdGreaterThanOrEqualTo(String value) {
            addCriterion("second_group_id >=", value, "secondGroupId");
            return (Criteria) this;
        }

        public Criteria andSecondGroupIdLessThan(String value) {
            addCriterion("second_group_id <", value, "secondGroupId");
            return (Criteria) this;
        }

        public Criteria andSecondGroupIdLessThanOrEqualTo(String value) {
            addCriterion("second_group_id <=", value, "secondGroupId");
            return (Criteria) this;
        }

        public Criteria andSecondGroupIdLike(String value) {
            addCriterion("second_group_id like", value, "secondGroupId");
            return (Criteria) this;
        }

        public Criteria andSecondGroupIdNotLike(String value) {
            addCriterion("second_group_id not like", value, "secondGroupId");
            return (Criteria) this;
        }

        public Criteria andSecondGroupIdIn(List<String> values) {
            addCriterion("second_group_id in", values, "secondGroupId");
            return (Criteria) this;
        }

        public Criteria andSecondGroupIdNotIn(List<String> values) {
            addCriterion("second_group_id not in", values, "secondGroupId");
            return (Criteria) this;
        }

        public Criteria andSecondGroupIdBetween(String value1, String value2) {
            addCriterion("second_group_id between", value1, value2, "secondGroupId");
            return (Criteria) this;
        }

        public Criteria andSecondGroupIdNotBetween(String value1, String value2) {
            addCriterion("second_group_id not between", value1, value2, "secondGroupId");
            return (Criteria) this;
        }

        public Criteria andThirdGroupIdIsNull() {
            addCriterion("third_group_id is null");
            return (Criteria) this;
        }

        public Criteria andThirdGroupIdIsNotNull() {
            addCriterion("third_group_id is not null");
            return (Criteria) this;
        }

        public Criteria andThirdGroupIdEqualTo(String value) {
            addCriterion("third_group_id =", value, "thirdGroupId");
            return (Criteria) this;
        }

        public Criteria andThirdGroupIdNotEqualTo(String value) {
            addCriterion("third_group_id <>", value, "thirdGroupId");
            return (Criteria) this;
        }

        public Criteria andThirdGroupIdGreaterThan(String value) {
            addCriterion("third_group_id >", value, "thirdGroupId");
            return (Criteria) this;
        }

        public Criteria andThirdGroupIdGreaterThanOrEqualTo(String value) {
            addCriterion("third_group_id >=", value, "thirdGroupId");
            return (Criteria) this;
        }

        public Criteria andThirdGroupIdLessThan(String value) {
            addCriterion("third_group_id <", value, "thirdGroupId");
            return (Criteria) this;
        }

        public Criteria andThirdGroupIdLessThanOrEqualTo(String value) {
            addCriterion("third_group_id <=", value, "thirdGroupId");
            return (Criteria) this;
        }

        public Criteria andThirdGroupIdLike(String value) {
            addCriterion("third_group_id like", value, "thirdGroupId");
            return (Criteria) this;
        }

        public Criteria andThirdGroupIdNotLike(String value) {
            addCriterion("third_group_id not like", value, "thirdGroupId");
            return (Criteria) this;
        }

        public Criteria andThirdGroupIdIn(List<String> values) {
            addCriterion("third_group_id in", values, "thirdGroupId");
            return (Criteria) this;
        }

        public Criteria andThirdGroupIdNotIn(List<String> values) {
            addCriterion("third_group_id not in", values, "thirdGroupId");
            return (Criteria) this;
        }

        public Criteria andThirdGroupIdBetween(String value1, String value2) {
            addCriterion("third_group_id between", value1, value2, "thirdGroupId");
            return (Criteria) this;
        }

        public Criteria andThirdGroupIdNotBetween(String value1, String value2) {
            addCriterion("third_group_id not between", value1, value2, "thirdGroupId");
            return (Criteria) this;
        }

        public Criteria andTutorUidIsNull() {
            addCriterion("tutor_uid is null");
            return (Criteria) this;
        }

        public Criteria andTutorUidIsNotNull() {
            addCriterion("tutor_uid is not null");
            return (Criteria) this;
        }

        public Criteria andTutorUidEqualTo(String value) {
            addCriterion("tutor_uid =", value, "tutorUid");
            return (Criteria) this;
        }

        public Criteria andTutorUidNotEqualTo(String value) {
            addCriterion("tutor_uid <>", value, "tutorUid");
            return (Criteria) this;
        }

        public Criteria andTutorUidGreaterThan(String value) {
            addCriterion("tutor_uid >", value, "tutorUid");
            return (Criteria) this;
        }

        public Criteria andTutorUidGreaterThanOrEqualTo(String value) {
            addCriterion("tutor_uid >=", value, "tutorUid");
            return (Criteria) this;
        }

        public Criteria andTutorUidLessThan(String value) {
            addCriterion("tutor_uid <", value, "tutorUid");
            return (Criteria) this;
        }

        public Criteria andTutorUidLessThanOrEqualTo(String value) {
            addCriterion("tutor_uid <=", value, "tutorUid");
            return (Criteria) this;
        }

        public Criteria andTutorUidLike(String value) {
            addCriterion("tutor_uid like", value, "tutorUid");
            return (Criteria) this;
        }

        public Criteria andTutorUidNotLike(String value) {
            addCriterion("tutor_uid not like", value, "tutorUid");
            return (Criteria) this;
        }

        public Criteria andTutorUidIn(List<String> values) {
            addCriterion("tutor_uid in", values, "tutorUid");
            return (Criteria) this;
        }

        public Criteria andTutorUidNotIn(List<String> values) {
            addCriterion("tutor_uid not in", values, "tutorUid");
            return (Criteria) this;
        }

        public Criteria andTutorUidBetween(String value1, String value2) {
            addCriterion("tutor_uid between", value1, value2, "tutorUid");
            return (Criteria) this;
        }

        public Criteria andTutorUidNotBetween(String value1, String value2) {
            addCriterion("tutor_uid not between", value1, value2, "tutorUid");
            return (Criteria) this;
        }

        public Criteria andSalesOrderNumIsNull() {
            addCriterion("sales_order_num is null");
            return (Criteria) this;
        }

        public Criteria andSalesOrderNumIsNotNull() {
            addCriterion("sales_order_num is not null");
            return (Criteria) this;
        }

        public Criteria andSalesOrderNumEqualTo(Integer value) {
            addCriterion("sales_order_num =", value, "salesOrderNum");
            return (Criteria) this;
        }

        public Criteria andSalesOrderNumNotEqualTo(Integer value) {
            addCriterion("sales_order_num <>", value, "salesOrderNum");
            return (Criteria) this;
        }

        public Criteria andSalesOrderNumGreaterThan(Integer value) {
            addCriterion("sales_order_num >", value, "salesOrderNum");
            return (Criteria) this;
        }

        public Criteria andSalesOrderNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("sales_order_num >=", value, "salesOrderNum");
            return (Criteria) this;
        }

        public Criteria andSalesOrderNumLessThan(Integer value) {
            addCriterion("sales_order_num <", value, "salesOrderNum");
            return (Criteria) this;
        }

        public Criteria andSalesOrderNumLessThanOrEqualTo(Integer value) {
            addCriterion("sales_order_num <=", value, "salesOrderNum");
            return (Criteria) this;
        }

        public Criteria andSalesOrderNumIn(List<Integer> values) {
            addCriterion("sales_order_num in", values, "salesOrderNum");
            return (Criteria) this;
        }

        public Criteria andSalesOrderNumNotIn(List<Integer> values) {
            addCriterion("sales_order_num not in", values, "salesOrderNum");
            return (Criteria) this;
        }

        public Criteria andSalesOrderNumBetween(Integer value1, Integer value2) {
            addCriterion("sales_order_num between", value1, value2, "salesOrderNum");
            return (Criteria) this;
        }

        public Criteria andSalesOrderNumNotBetween(Integer value1, Integer value2) {
            addCriterion("sales_order_num not between", value1, value2, "salesOrderNum");
            return (Criteria) this;
        }

        public Criteria andSalesAmtIsNull() {
            addCriterion("sales_amt is null");
            return (Criteria) this;
        }

        public Criteria andSalesAmtIsNotNull() {
            addCriterion("sales_amt is not null");
            return (Criteria) this;
        }

        public Criteria andSalesAmtEqualTo(Double value) {
            addCriterion("sales_amt =", value, "salesAmt");
            return (Criteria) this;
        }

        public Criteria andSalesAmtNotEqualTo(Double value) {
            addCriterion("sales_amt <>", value, "salesAmt");
            return (Criteria) this;
        }

        public Criteria andSalesAmtGreaterThan(Double value) {
            addCriterion("sales_amt >", value, "salesAmt");
            return (Criteria) this;
        }

        public Criteria andSalesAmtGreaterThanOrEqualTo(Double value) {
            addCriterion("sales_amt >=", value, "salesAmt");
            return (Criteria) this;
        }

        public Criteria andSalesAmtLessThan(Double value) {
            addCriterion("sales_amt <", value, "salesAmt");
            return (Criteria) this;
        }

        public Criteria andSalesAmtLessThanOrEqualTo(Double value) {
            addCriterion("sales_amt <=", value, "salesAmt");
            return (Criteria) this;
        }

        public Criteria andSalesAmtIn(List<Double> values) {
            addCriterion("sales_amt in", values, "salesAmt");
            return (Criteria) this;
        }

        public Criteria andSalesAmtNotIn(List<Double> values) {
            addCriterion("sales_amt not in", values, "salesAmt");
            return (Criteria) this;
        }

        public Criteria andSalesAmtBetween(Double value1, Double value2) {
            addCriterion("sales_amt between", value1, value2, "salesAmt");
            return (Criteria) this;
        }

        public Criteria andSalesAmtNotBetween(Double value1, Double value2) {
            addCriterion("sales_amt not between", value1, value2, "salesAmt");
            return (Criteria) this;
        }

        public Criteria andSalesAtvIsNull() {
            addCriterion("sales_atv is null");
            return (Criteria) this;
        }

        public Criteria andSalesAtvIsNotNull() {
            addCriterion("sales_atv is not null");
            return (Criteria) this;
        }

        public Criteria andSalesAtvEqualTo(Double value) {
            addCriterion("sales_atv =", value, "salesAtv");
            return (Criteria) this;
        }

        public Criteria andSalesAtvNotEqualTo(Double value) {
            addCriterion("sales_atv <>", value, "salesAtv");
            return (Criteria) this;
        }

        public Criteria andSalesAtvGreaterThan(Double value) {
            addCriterion("sales_atv >", value, "salesAtv");
            return (Criteria) this;
        }

        public Criteria andSalesAtvGreaterThanOrEqualTo(Double value) {
            addCriterion("sales_atv >=", value, "salesAtv");
            return (Criteria) this;
        }

        public Criteria andSalesAtvLessThan(Double value) {
            addCriterion("sales_atv <", value, "salesAtv");
            return (Criteria) this;
        }

        public Criteria andSalesAtvLessThanOrEqualTo(Double value) {
            addCriterion("sales_atv <=", value, "salesAtv");
            return (Criteria) this;
        }

        public Criteria andSalesAtvIn(List<Double> values) {
            addCriterion("sales_atv in", values, "salesAtv");
            return (Criteria) this;
        }

        public Criteria andSalesAtvNotIn(List<Double> values) {
            addCriterion("sales_atv not in", values, "salesAtv");
            return (Criteria) this;
        }

        public Criteria andSalesAtvBetween(Double value1, Double value2) {
            addCriterion("sales_atv between", value1, value2, "salesAtv");
            return (Criteria) this;
        }

        public Criteria andSalesAtvNotBetween(Double value1, Double value2) {
            addCriterion("sales_atv not between", value1, value2, "salesAtv");
            return (Criteria) this;
        }

        public Criteria andSalesUserNumIsNull() {
            addCriterion("sales_user_num is null");
            return (Criteria) this;
        }

        public Criteria andSalesUserNumIsNotNull() {
            addCriterion("sales_user_num is not null");
            return (Criteria) this;
        }

        public Criteria andSalesUserNumEqualTo(Integer value) {
            addCriterion("sales_user_num =", value, "salesUserNum");
            return (Criteria) this;
        }

        public Criteria andSalesUserNumNotEqualTo(Integer value) {
            addCriterion("sales_user_num <>", value, "salesUserNum");
            return (Criteria) this;
        }

        public Criteria andSalesUserNumGreaterThan(Integer value) {
            addCriterion("sales_user_num >", value, "salesUserNum");
            return (Criteria) this;
        }

        public Criteria andSalesUserNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("sales_user_num >=", value, "salesUserNum");
            return (Criteria) this;
        }

        public Criteria andSalesUserNumLessThan(Integer value) {
            addCriterion("sales_user_num <", value, "salesUserNum");
            return (Criteria) this;
        }

        public Criteria andSalesUserNumLessThanOrEqualTo(Integer value) {
            addCriterion("sales_user_num <=", value, "salesUserNum");
            return (Criteria) this;
        }

        public Criteria andSalesUserNumIn(List<Integer> values) {
            addCriterion("sales_user_num in", values, "salesUserNum");
            return (Criteria) this;
        }

        public Criteria andSalesUserNumNotIn(List<Integer> values) {
            addCriterion("sales_user_num not in", values, "salesUserNum");
            return (Criteria) this;
        }

        public Criteria andSalesUserNumBetween(Integer value1, Integer value2) {
            addCriterion("sales_user_num between", value1, value2, "salesUserNum");
            return (Criteria) this;
        }

        public Criteria andSalesUserNumNotBetween(Integer value1, Integer value2) {
            addCriterion("sales_user_num not between", value1, value2, "salesUserNum");
            return (Criteria) this;
        }

        public Criteria andSalesIncomeAmtIsNull() {
            addCriterion("sales_income_amt is null");
            return (Criteria) this;
        }

        public Criteria andSalesIncomeAmtIsNotNull() {
            addCriterion("sales_income_amt is not null");
            return (Criteria) this;
        }

        public Criteria andSalesIncomeAmtEqualTo(Double value) {
            addCriterion("sales_income_amt =", value, "salesIncomeAmt");
            return (Criteria) this;
        }

        public Criteria andSalesIncomeAmtNotEqualTo(Double value) {
            addCriterion("sales_income_amt <>", value, "salesIncomeAmt");
            return (Criteria) this;
        }

        public Criteria andSalesIncomeAmtGreaterThan(Double value) {
            addCriterion("sales_income_amt >", value, "salesIncomeAmt");
            return (Criteria) this;
        }

        public Criteria andSalesIncomeAmtGreaterThanOrEqualTo(Double value) {
            addCriterion("sales_income_amt >=", value, "salesIncomeAmt");
            return (Criteria) this;
        }

        public Criteria andSalesIncomeAmtLessThan(Double value) {
            addCriterion("sales_income_amt <", value, "salesIncomeAmt");
            return (Criteria) this;
        }

        public Criteria andSalesIncomeAmtLessThanOrEqualTo(Double value) {
            addCriterion("sales_income_amt <=", value, "salesIncomeAmt");
            return (Criteria) this;
        }

        public Criteria andSalesIncomeAmtIn(List<Double> values) {
            addCriterion("sales_income_amt in", values, "salesIncomeAmt");
            return (Criteria) this;
        }

        public Criteria andSalesIncomeAmtNotIn(List<Double> values) {
            addCriterion("sales_income_amt not in", values, "salesIncomeAmt");
            return (Criteria) this;
        }

        public Criteria andSalesIncomeAmtBetween(Double value1, Double value2) {
            addCriterion("sales_income_amt between", value1, value2, "salesIncomeAmt");
            return (Criteria) this;
        }

        public Criteria andSalesIncomeAmtNotBetween(Double value1, Double value2) {
            addCriterion("sales_income_amt not between", value1, value2, "salesIncomeAmt");
            return (Criteria) this;
        }

        public Criteria andSalesSelfIncomeAmtIsNull() {
            addCriterion("sales_self_income_amt is null");
            return (Criteria) this;
        }

        public Criteria andSalesSelfIncomeAmtIsNotNull() {
            addCriterion("sales_self_income_amt is not null");
            return (Criteria) this;
        }

        public Criteria andSalesSelfIncomeAmtEqualTo(Double value) {
            addCriterion("sales_self_income_amt =", value, "salesSelfIncomeAmt");
            return (Criteria) this;
        }

        public Criteria andSalesSelfIncomeAmtNotEqualTo(Double value) {
            addCriterion("sales_self_income_amt <>", value, "salesSelfIncomeAmt");
            return (Criteria) this;
        }

        public Criteria andSalesSelfIncomeAmtGreaterThan(Double value) {
            addCriterion("sales_self_income_amt >", value, "salesSelfIncomeAmt");
            return (Criteria) this;
        }

        public Criteria andSalesSelfIncomeAmtGreaterThanOrEqualTo(Double value) {
            addCriterion("sales_self_income_amt >=", value, "salesSelfIncomeAmt");
            return (Criteria) this;
        }

        public Criteria andSalesSelfIncomeAmtLessThan(Double value) {
            addCriterion("sales_self_income_amt <", value, "salesSelfIncomeAmt");
            return (Criteria) this;
        }

        public Criteria andSalesSelfIncomeAmtLessThanOrEqualTo(Double value) {
            addCriterion("sales_self_income_amt <=", value, "salesSelfIncomeAmt");
            return (Criteria) this;
        }

        public Criteria andSalesSelfIncomeAmtIn(List<Double> values) {
            addCriterion("sales_self_income_amt in", values, "salesSelfIncomeAmt");
            return (Criteria) this;
        }

        public Criteria andSalesSelfIncomeAmtNotIn(List<Double> values) {
            addCriterion("sales_self_income_amt not in", values, "salesSelfIncomeAmt");
            return (Criteria) this;
        }

        public Criteria andSalesSelfIncomeAmtBetween(Double value1, Double value2) {
            addCriterion("sales_self_income_amt between", value1, value2, "salesSelfIncomeAmt");
            return (Criteria) this;
        }

        public Criteria andSalesSelfIncomeAmtNotBetween(Double value1, Double value2) {
            addCriterion("sales_self_income_amt not between", value1, value2, "salesSelfIncomeAmt");
            return (Criteria) this;
        }

        public Criteria andSalesPromoteIncomeAmtIsNull() {
            addCriterion("sales_promote_income_amt is null");
            return (Criteria) this;
        }

        public Criteria andSalesPromoteIncomeAmtIsNotNull() {
            addCriterion("sales_promote_income_amt is not null");
            return (Criteria) this;
        }

        public Criteria andSalesPromoteIncomeAmtEqualTo(Double value) {
            addCriterion("sales_promote_income_amt =", value, "salesPromoteIncomeAmt");
            return (Criteria) this;
        }

        public Criteria andSalesPromoteIncomeAmtNotEqualTo(Double value) {
            addCriterion("sales_promote_income_amt <>", value, "salesPromoteIncomeAmt");
            return (Criteria) this;
        }

        public Criteria andSalesPromoteIncomeAmtGreaterThan(Double value) {
            addCriterion("sales_promote_income_amt >", value, "salesPromoteIncomeAmt");
            return (Criteria) this;
        }

        public Criteria andSalesPromoteIncomeAmtGreaterThanOrEqualTo(Double value) {
            addCriterion("sales_promote_income_amt >=", value, "salesPromoteIncomeAmt");
            return (Criteria) this;
        }

        public Criteria andSalesPromoteIncomeAmtLessThan(Double value) {
            addCriterion("sales_promote_income_amt <", value, "salesPromoteIncomeAmt");
            return (Criteria) this;
        }

        public Criteria andSalesPromoteIncomeAmtLessThanOrEqualTo(Double value) {
            addCriterion("sales_promote_income_amt <=", value, "salesPromoteIncomeAmt");
            return (Criteria) this;
        }

        public Criteria andSalesPromoteIncomeAmtIn(List<Double> values) {
            addCriterion("sales_promote_income_amt in", values, "salesPromoteIncomeAmt");
            return (Criteria) this;
        }

        public Criteria andSalesPromoteIncomeAmtNotIn(List<Double> values) {
            addCriterion("sales_promote_income_amt not in", values, "salesPromoteIncomeAmt");
            return (Criteria) this;
        }

        public Criteria andSalesPromoteIncomeAmtBetween(Double value1, Double value2) {
            addCriterion("sales_promote_income_amt between", value1, value2, "salesPromoteIncomeAmt");
            return (Criteria) this;
        }

        public Criteria andSalesPromoteIncomeAmtNotBetween(Double value1, Double value2) {
            addCriterion("sales_promote_income_amt not between", value1, value2, "salesPromoteIncomeAmt");
            return (Criteria) this;
        }

        public Criteria andSalesPlatformBalanceAmtIsNull() {
            addCriterion("sales_platform_balance_amt is null");
            return (Criteria) this;
        }

        public Criteria andSalesPlatformBalanceAmtIsNotNull() {
            addCriterion("sales_platform_balance_amt is not null");
            return (Criteria) this;
        }

        public Criteria andSalesPlatformBalanceAmtEqualTo(Double value) {
            addCriterion("sales_platform_balance_amt =", value, "salesPlatformBalanceAmt");
            return (Criteria) this;
        }

        public Criteria andSalesPlatformBalanceAmtNotEqualTo(Double value) {
            addCriterion("sales_platform_balance_amt <>", value, "salesPlatformBalanceAmt");
            return (Criteria) this;
        }

        public Criteria andSalesPlatformBalanceAmtGreaterThan(Double value) {
            addCriterion("sales_platform_balance_amt >", value, "salesPlatformBalanceAmt");
            return (Criteria) this;
        }

        public Criteria andSalesPlatformBalanceAmtGreaterThanOrEqualTo(Double value) {
            addCriterion("sales_platform_balance_amt >=", value, "salesPlatformBalanceAmt");
            return (Criteria) this;
        }

        public Criteria andSalesPlatformBalanceAmtLessThan(Double value) {
            addCriterion("sales_platform_balance_amt <", value, "salesPlatformBalanceAmt");
            return (Criteria) this;
        }

        public Criteria andSalesPlatformBalanceAmtLessThanOrEqualTo(Double value) {
            addCriterion("sales_platform_balance_amt <=", value, "salesPlatformBalanceAmt");
            return (Criteria) this;
        }

        public Criteria andSalesPlatformBalanceAmtIn(List<Double> values) {
            addCriterion("sales_platform_balance_amt in", values, "salesPlatformBalanceAmt");
            return (Criteria) this;
        }

        public Criteria andSalesPlatformBalanceAmtNotIn(List<Double> values) {
            addCriterion("sales_platform_balance_amt not in", values, "salesPlatformBalanceAmt");
            return (Criteria) this;
        }

        public Criteria andSalesPlatformBalanceAmtBetween(Double value1, Double value2) {
            addCriterion("sales_platform_balance_amt between", value1, value2, "salesPlatformBalanceAmt");
            return (Criteria) this;
        }

        public Criteria andSalesPlatformBalanceAmtNotBetween(Double value1, Double value2) {
            addCriterion("sales_platform_balance_amt not between", value1, value2, "salesPlatformBalanceAmt");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andShelfSalesMemberNumIsNull() {
            addCriterion("shelf_sales_member_num is null");
            return (Criteria) this;
        }

        public Criteria andShelfSalesMemberNumIsNotNull() {
            addCriterion("shelf_sales_member_num is not null");
            return (Criteria) this;
        }

        public Criteria andShelfSalesMemberNumEqualTo(Integer value) {
            addCriterion("shelf_sales_member_num =", value, "shelfSalesMemberNum");
            return (Criteria) this;
        }

        public Criteria andShelfSalesMemberNumNotEqualTo(Integer value) {
            addCriterion("shelf_sales_member_num <>", value, "shelfSalesMemberNum");
            return (Criteria) this;
        }

        public Criteria andShelfSalesMemberNumGreaterThan(Integer value) {
            addCriterion("shelf_sales_member_num >", value, "shelfSalesMemberNum");
            return (Criteria) this;
        }

        public Criteria andShelfSalesMemberNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("shelf_sales_member_num >=", value, "shelfSalesMemberNum");
            return (Criteria) this;
        }

        public Criteria andShelfSalesMemberNumLessThan(Integer value) {
            addCriterion("shelf_sales_member_num <", value, "shelfSalesMemberNum");
            return (Criteria) this;
        }

        public Criteria andShelfSalesMemberNumLessThanOrEqualTo(Integer value) {
            addCriterion("shelf_sales_member_num <=", value, "shelfSalesMemberNum");
            return (Criteria) this;
        }

        public Criteria andShelfSalesMemberNumIn(List<Integer> values) {
            addCriterion("shelf_sales_member_num in", values, "shelfSalesMemberNum");
            return (Criteria) this;
        }

        public Criteria andShelfSalesMemberNumNotIn(List<Integer> values) {
            addCriterion("shelf_sales_member_num not in", values, "shelfSalesMemberNum");
            return (Criteria) this;
        }

        public Criteria andShelfSalesMemberNumBetween(Integer value1, Integer value2) {
            addCriterion("shelf_sales_member_num between", value1, value2, "shelfSalesMemberNum");
            return (Criteria) this;
        }

        public Criteria andShelfSalesMemberNumNotBetween(Integer value1, Integer value2) {
            addCriterion("shelf_sales_member_num not between", value1, value2, "shelfSalesMemberNum");
            return (Criteria) this;
        }
    }

    /**
     *
     */
    public static class Criteria extends GeneratedCriteria {
        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}